package com.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.message.model.Message;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    List<Message>selectTaskByShardIndex(@Param("shardIndex")Integer shardIndex,@Param("shardTotal")Integer shardTotal,@Param("count")Integer count);

}
